import request from "@/utils/request.js";

// 获取履职统计趋势图
export const getSendPoliceTrendOfSendPolice = (query) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/TrendOfSendPolice',
        params: query,
        isEncrypt: false
    })
}

// 获取履职统计柱状图第一二两层
export const getSendPoliceBarOfFirstSecond = (query) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/JwSendPoliceCount',
        params: query,
        isEncrypt: false
    })
}

// 获取履职统计柱状图第三层
export const getSendPoliceBarOfThird = (query) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/JwSendPoliceCountThird',
        params: query,
        isEncrypt: false
    })
}

// 获取履职统计柱状图第四层
export const getSendPoliceBarOfFourth = (query) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/JwSendPoliceCountFourth',
        params: query,
        isEncrypt: false
    })
}

// 获取履职统计列表
export const getSendPoliceTableList = (data, query) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/JwSendPoliceCountList',
        params: query,
        data,
        isEncrypt: false
    })
}